package com.example.administrator.kotlin

import android.app.Application
import com.lzy.okgo.OkGo
import com.orhanobut.logger.AndroidLogAdapter
import com.orhanobut.logger.Logger

/**
 * Created by Administrator on 2018/3/1/001.
 */
class App : Application() {
    override fun onCreate() {
        super.onCreate()
        OkGo.getInstance().init(this)
        Logger.addLogAdapter(AndroidLogAdapter())
    }
}